<?php
/* @var $this ThongBaoMoiThauController */
/* @var $model FormThongBaoMoiThau */
/* @var $duyet_form DuyetForm */

$this->breadcrumbs=array(
    'Form Thong Bao Moi Thaus'=>array('index'),
    $model->id,
);

$this->menu=array(
    array('label'=>'List FormThongBaoMoiThau', 'url'=>array('index')),
    array('label'=>'Create FormThongBaoMoiThau', 'url'=>array('create')),
    array('label'=>'Update FormThongBaoMoiThau', 'url'=>array('update', 'id'=>$model->id)),
    array('label'=>'Delete FormThongBaoMoiThau', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
    array('label'=>'Manage FormThongBaoMoiThau', 'url'=>array('admin')),
);
?>

<h1>Duyệt thông báo mời thầu #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
    'data'=>$model,
    'attributes'=>array(
        'nganh',
        'linh_vuc',
        'dia_diem',
        'ten_du_an',
        'nguon_von',
        'ben_moi_thau',
        'hinh_thuc',
        'thoi_gian_bat_dau',
        'thoi_gian_ket_thuc',
        'dia_diem_ban',
        'gia_ban',
        'thoi_gian_dong_thau',
        'ngay_xuat_ban',
        'so_bao_dang',
        'tinh_trang_tong_tin',
        'ma_thong_tin',
        'thong_tin_chuyen_tien',
        'thong_tin_khac',
        'id_nguoi_tao',
        'ngay_tao',
        'da_thanh_toan',
        'tong_tien',
    ),
));
?>

<div class="form">

    <?php
    $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
        'id' => 'duyet-form',
        'type' => 'horizontal',
        'enableClientValidation' => true,
        'clientOptions' => array(
            'validateOnSubmit' => true,
        ),
    ));
    ?>

    <?php echo $form->radioButtonListRow($duyet_form,'ket_qua',array('1'=>'Duyet','0'=>'Khong duyet')); ?>
    <?php
    echo $form->textFieldRow($duyet_form, 'noi_dung',array('style'=>'display'));
    ?>


    <div class="form-actions">
        <?php
        $this->widget('bootstrap.widgets.TbButton', array(
            'buttonType' => 'submit',
            'type' => 'primary',
            'label' => 'Submit',
        ));
        ?>
    </div>

    <?php $this->endWidget(); ?>

</div><!-- form -->